package com.hyd.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.base.mybatis.plus.EntityWrapper;

import com.hyd.dao.EvidenceMapper;
import com.hyd.dao.model.Evidence;
import com.hyd.dao.model.EvidenceExample;

@Service
public class EvidenceService {
	@Autowired
	private EvidenceMapper evidenceMapper;

	public int countByExample(EvidenceExample example) {
		return this.evidenceMapper.countByExample(example);
	}

	public Evidence selectByPrimaryKey(Integer id) {
		return this.evidenceMapper.selectByPrimaryKey(id);
	}

	public List<Evidence> selectByExample(EvidenceExample example) {
		return this.evidenceMapper.selectByExample(example);
	}

	public List<Evidence> selectByExampleWithBLOBs(EvidenceExample example) {
		return this.evidenceMapper.selectByExampleWithBLOBs(example);
	}

	public int deleteByPrimaryKey(Integer id) {
		return this.evidenceMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(Evidence record) {
		return this.evidenceMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKeyWithBLOBs(Evidence record) {
		return this.evidenceMapper.updateByPrimaryKeyWithBLOBs(record);
	}

	public int updateByPrimaryKey(Evidence record) {
		return this.evidenceMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(EvidenceExample example) {
		return this.evidenceMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(Evidence record, EvidenceExample example) {
		return this.evidenceMapper.updateByExampleSelective(record, example);
	}

	public int updateByExampleWithBLOBs(Evidence record, EvidenceExample example) {
		return this.evidenceMapper.updateByExampleWithBLOBs(record, example);
	}

	public int updateByExample(Evidence record, EvidenceExample example) {
		return this.evidenceMapper.updateByExample(record, example);
	}

	public int insert(Evidence record) {
		return this.evidenceMapper.insert(record);
	}

	public int insertSelective(Evidence record) {
		return this.evidenceMapper.insertSelective(record);
	}

	public List<Evidence> selectByWrapper(EntityWrapper<Evidence> wrapper) {
		return this.evidenceMapper.selectByWrapper(wrapper);
	}

	public List<Evidence> selectByWrapperWithBLOBs(EntityWrapper<Evidence> wrapper) {
		return this.evidenceMapper.selectByWrapperWithBLOBs(wrapper);
	}

}
